home *** CD-ROM | disk | FTP | other *** search
/ Software Explosion / Software Explosion (Fore-Matt Home Computing)(1996).iso / system / c / makepatprefs.doc < prev    next >
Text File  |  1995-08-16  |  3KB  |  114 lines

  1.  
  2.     MakePatPrefs 1.0
  3.     -------------------------------------------------
  4.     A WBPattern.prefs generator and loader
  5.     
  6.     Copyright ⌐ 1995 by Daniel Balster
  7.     All Rights Reserved.
  8.     READY.
  9.  
  10.     USAGE (only from CLI!)
  11.     -------------------------------------------------
  12.  
  13.     FILE
  14.         the filename of the preferences file to create.
  15.         recommended is ENV:sys/wbpattern.prefs; this
  16.         file is notificated - if you overwrite it while
  17.         IPrefs is running the new pattern set will be
  18.         loaded automatically.
  19.     
  20.     DATABASE
  21.         the filename of the pattern database. this is a
  22.         textfile listing of all your pattern files with
  23.         path. each line should contain a valid entry.
  24.         see below for more information
  25.     
  26.     SCREEN/S
  27.         if activated the screen pattern is
  28.         exchanged
  29.     
  30.     ROOT/S
  31.         if activated the root pattern is
  32.         exchanged (normally hidden by the SCREEN window)
  33.     
  34.     DRAWER/S
  35.         if activated the drawer pattern is
  36.         exchanged
  37.     
  38.     REMAPSCREEN/S
  39.     REMAPROOT/S
  40.     REMAPDRAWER/S
  41.         enable these if you want the patterns to be in
  42.         correct colors (remapped).
  43.     
  44.     IMMEDIATE/S
  45.         this calls "SYS:Prefs/WBPattern %s USE" with
  46.         the prefsfile just created. only useful if the
  47.         FILE is not env:sys/wbpattern.prefs and you
  48.         want to test the program.
  49.  
  50.     DATABASE
  51.     -------------------------------------------------
  52.  
  53.     all your patterns have to be listed in a database.
  54.     to create it, just follow this steps:
  55.     
  56.     lets say you have all your patterns in SYS:Prefs/Patterns/
  57.     then do this: (from CLI)
  58.     
  59.     LIST SYS:Prefs/Patterns/áALL FILES LFORMAT="%s%s" >S:patterns.db
  60.     
  61.     now you have created your database. repeat this each time you
  62.     add/remove patterns from this directory.
  63.     
  64.     
  65.     INSTALLATION
  66.     -------------------------------------------------
  67.     
  68.     assuming you have a normal startup-sequence and a database
  69.     for your patterns called S:patterns.db this is how to use it:
  70.     
  71.     Edit the S:Startup-Sequence:
  72.     
  73.     -------------------------------
  74.     ...
  75.     ConClip
  76.     MakePatPrefs >NIL: ENV:sys/wbpattern.prefs S:pattern.db SCREEN DRAWER REMAPSCREEN REMAPDRAWER
  77.     IPrefs
  78.     ...
  79.     -------------------------------
  80.     
  81.     --> just insert the MakePatPrefs line before IPrefs or however
  82.     you want.
  83.     
  84.     if you delete the wbpattern.prefs out of ENVARC:SYS/ then
  85.     you can place that line at the end of your user-startup.
  86.     
  87.     
  88.     
  89.     TOOLMANAGER etc.
  90.     ---------------------------------------------------
  91.     
  92.     I have created a hotkey that executes this command
  93.     each time I stroke it. this is recommended! its funny,
  94.     its cool and its the amiga way of computing...
  95.     
  96.  
  97. (well, actually I tested this tool now for a couple of reboots.
  98. Since the M****Selector has gone shareware (hey! its only the
  99. prefsfile to create!!!) and the adding/removing of new patterns
  100. was too much work i wrote this replacement. i hope you like it!)
  101.  
  102.  
  103.     DISCLAIMER
  104.     ----------------------------------------------------
  105.     This is freeware. Do not expect any responsibility from
  106.     ME if something unwanted happen. source is included, erhm,
  107.     i mean that file *I* call a source ;-)
  108.  
  109.  
  110.     AUTHOR
  111.     -----------------------------------------------------
  112.     Daniel Balster,
  113.     dbalster@uni-paderborn.de
  114.